<div>
    <div class="header">
    	<a href="#userregister" class="btn btnleft">注册</a>
    	<h1>{{headerName}}</h1>
    	<a href="javascript:Global.dialer();" class="btn btnright">客服</a>
    </div>
	<div class="content" id="myguidepage" page-nobanner="true">
		<div style="padding:0px;clear:both;" id="advertisement{{identify}}"></div>
		<div style="padding-top:0px;" id="guideLinks{{identify}}"></div>
	</div>
	<div class="footer">
		<div class="row">
			<div class="col-xs-3 persist"><a href="#guidepage"><div class="icon icon-green-persist"></div><div>绿色通道</div></a></div>
			<div class="col-xs-3"><a href="#marketpage"><div class="icon icon-sale"></div><div>逛逛市场</div></a></div>
			<div class="col-xs-3"><a href="#parterpage"><div class="icon icon-parter"></div><div>我的伙计</div></a></div>
			<div class="col-xs-3"><a href="#userpage"><div class="icon icon-user"></div><div>用户中心</div></a></div>
		</div>
	</div>
	<script type="text/javascript">
	function advertisementload{{identify}}() {
		var bodydata = $('body').data('guide-advertisement-data');
		if (bodydata) {
			advertisementset{{identify}}(bodydata);
			return;
		}
		$.ajax({
			type: 'GET',
          	url: GLOBAL_CONTEXT_PATH + '/assistant/guideJsonAdbanner.html?_=' + new Date().getTime(),
          	success: function (data) {
          		if (data.adList && data.adList.length > 0) {
          			$('body').data('guide-advertisement-data', data);
	        		advertisementset{{identify}}(data);
	        		if (!$('body').data('div.guide-advertisement.resize')) {
	            		$(window).resize(function() {
	            			$('body').data('div.guide-advertisement', true);
	            	    	$('div.guide-advertisement').mycarousel({
	            				width: $('div.guide-advertisement').width(),
	            				height: 140,
	            				auto: true
	            			});
	            	    });
	        		}
          		}
          	}
	     });
	}
	function advertisementset{{identify}}(data) {
		window.setTimeout(function() {
	      	$('#advertisement{{identify}}').html(Global.loadFragment('guidepageaditems', data));
			$('div.guide-advertisement').mycarousel({
				width: $('div.guide-advertisement').width(),
				height: 140,
				auto: true
			});
		}, 0);
	}
	$(document).ready(function() {
		$.ajax({
			type: 'GET',
          	url: 'seeds/guide-page.txt',
          	success: function (data){
          		var guidelinks = $('#guideLinks{{identify}}:empty');
          		if (guidelinks) {
          			guidelinks.html(data);
    				var width = ($(document).width() - 24) / 3;
    				$('.guide-page-table img').height(width);
          		}
          	}
	     });
		Global.loading();
		advertisementload{{identify}}();
		$.ajax({
			type: 'GET',
	    	url: GLOBAL_CONTEXT_PATH + '/assistant/guideJsonLinks.html?_=' + new Date().getTime(),
	    	dataType: 'json',
	    	crossDomain: true,
	    	success: function (data){
	          	$('#guideLinks{{identify}}').html(Global.loadFragment('guidepagelinkitems', data));
	          	PageTools.setGuidePageTableHeight();
	    		Global.setItem('guidepagelinkitems', data);
	    		Global.loaded();
	    	},
	    	error:function(msg) {
	    		if (!app.checkConnection()) {
	    		}
	    		var data = Global.getItem('guidepagelinkitems');
	    		if (data) {
	              	$('#guideLinks{{identify}}').html(Global.loadFragment('guidepagelinkitems', data));
	              	PageTools.setGuidePageTableHeight();
	    		}
	    		Global.loaded();
	    	}
		});
	});
	<{{!}}/script>
</div>